package com.remoting.api.spi.response;

import com.remoting.api.response.ResponseHandler;
import com.remoting.api.spi.Factory;
import com.remoting.api.spi.SpiLoader;

/**
 * 响应数据处理接口工厂
 * <p>说明:</p>
 * <li></li>
 *
 * @Author DuanYong
 * @Since 2019/5/10 14:31
 * @Version 1.0
 */
public interface ResponseHandlerFactory extends Factory<ResponseHandler> {
    static ResponseHandler create() {
        return SpiLoader.load(ResponseHandlerFactory.class).get();
    }
}
